﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WcfServiceLibrary
{
   public class CustomSyndicationItem
    {
        #region All fields
        private string _title;
        private string _img;
        private DateTime _updatedTime;
        private string _content;
        private string _url;
        private string _source;
        #endregion

        public CustomSyndicationItem() { }

        public CustomSyndicationItem(string title, string img, DateTime updatedTime,
            string content, string url, string source)
        {
            this._title = title;
            this._img = img;
            this._updatedTime = updatedTime;
            this._content = content;
            this._url = url;
            this._source = source;
        }

        #region All properties
        public string Source
        {
            get { return _source; }
            set { _source = value; }
        }

        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        public string Img
        {
            get { return _img; }
            set { _img = value; }
        }

        public DateTime UpdatedTime
        {
            get { return _updatedTime; }
            set { _updatedTime = value; }
        }

        public string Url
        {
            get { return _url; }
            set { _url = value; }
        }
        #endregion

    }
}
